<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib uri="/struts-tags" prefix="s"%>
<%@ taglib prefix="sx" uri="/struts-dojo-tags"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path;
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<script type="text/javascript" src="js/jquery-1.8.0.js"></script>
<script type="text/javascript" src="js/layer.js"></script>
<title>编辑广告</title>

<link rel="stylesheet" href="css/tableCss.css" type="text/css" />
</head>
<body>
	<br />
	<br />
	<table>
		<tr>
			<td>首页图片</td>
			<td>首页图片标题</td>
			<td>内容</td>
			<td>广告页图片</td>
			<td>公告</td>
			<td>是否发布</td>
		</tr>
		<s:iterator value="notices" var="noti">
			<tr>
				<td><img src="<%=basePath%>${notice.indexPicture}" /></td>
				<td>${noti.title}</td>
				<td>${noti.context}</td>
				<td><img src="<%=basePath%>${noti.pagePicture}" /></td>
				<td>${noti.attention}</td>
				<td><s:if test="%{#noti.isShow==1}">
						
							公布 
					   
				</s:if> <s:else>
						
							不公布
					 </s:else>
				</td>
			</tr>
		</s:iterator>
	</table>
</body>
</html>